﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Cocbook_DTO
{
    public class Bill
    {
        public int BillID { get; set; }
        public Project Project { get; set; }
        public Customer Customer { get; set; }
        public Staff Staff { get; set; }
        public DateTime Date { get; set; }
        public double Total { get; set;}
        public double Paid { set; get; }
        public int CheckOutType { get; set; }

        public Bill ( int billID=0, Project project = null, Customer customer = null, Staff staff = null, DateTime date= new DateTime(), double total=0, double paid = 0, int checkoutType =0 )
        {
            BillID = billID;
            Project = project;
            Customer = customer;
            Staff = staff;
            Date = date;
            Total = total;
            Paid = paid;
            CheckOutType = checkoutType;
        }

    }
}
